/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout/index.vue'

const deviceRouter = [
  {
    path: '/deviceManage',
    component: Layout,
    redirect: '/device/index',
    name: 'device',
    meta: {
      title: '设备管理',
      icon: 'Grid',
      keepAlive: true,
    },
    children: [
      {
        path: '/device/index',

        component: () => import('@/views/orderManage/device/index.vue'),
        name: 'deviceBox',
        meta: {
          title: '设备管理',
          icon: 'Grid',
          keepAlive: true,
        },
      },
    ],
  },
]

export default deviceRouter
